package com.gigi.datageniebackendmaster.model.enums;

/**
 * 是否枚举
 *
 * @author Gigi
 */
public enum YesOrNoEnum {
    YES(1, "YES"),
    NO(0, "NO"),
    ;
    private Integer code;
    private String desc;

    YesOrNoEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }
}
